package com.yxw.spring6.aop;

public class Test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new CalculatorImpl());

        Calculator proxy = (Calculator) proxyFactory.getProxy();

//        proxy.add(2,3);
        proxy.div(10,5);
    }
}
